package com.jrx.anytxn.customer.dto.creditinfo;

import com.jrx.anytxn.customer.dto.BaseApiReq;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;
/**
 * 额度冻结的请求报文对应对象
 * @author Qingyao Xing
 * @date 2019/8/16 16:58
 */
public class CreditFreezeReq extends BaseApiReq implements Serializable {
    private static final long serialVersionUID = -3171792367592304464L;
    /**
     * 调整原因
     */
    private String adjustReason;

    /**
     * 授信信息列表
     */
    @NotNull(message = "额度冻结/解冻中授信信息列表creditInfoList不能为空")
    @Valid
    private List<CreditFreeze> creditInfoList;

    public String getAdjustReason() {
        return adjustReason;
    }

    public void setAdjustReason(String adjustReason) {
        this.adjustReason = adjustReason;
    }

    public List<CreditFreeze> getCreditInfoList() {
        return creditInfoList;
    }

    public void setCreditInfoList(List<CreditFreeze> creditInfoList) {
        this.creditInfoList = creditInfoList;
    }
}
